﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TraceabilityApp_Domain
{
    /// <summary>
    /// 屠宰企业信息（Company）			
    /// </summary>
    public class CompanyModel:BaseEntity 
    {
        /// <summary>
        /// 公司id(主键标识)
        /// </summary>
        [Key]
        public int CompanyId { get; set; }
        /// <summary>
        /// 公司名称
        /// </summary>
        public string CompanyName { get; set; }
        /// <summary>
        /// 省名称
        /// </summary>
        public string ProvinceName { get; set; }
        /// <summary>
        /// 市名称
        /// </summary>
        public string CityName { get; set; }
        /// <summary>
        /// 县名称
        /// </summary>
        public string CountyName { get; set; }
        /// <summary>
        /// 成立时间
        /// </summary>
        public DateTime EstablishTime {  get; set; }
        /// <summary>
        /// 公司简介
        /// </summary>
        public string CompanyProfile {  get; set; }
        /// <summary>
        /// 生产批次(整个系统唯一)
        /// </summary>
        public string Batch {  get; set; }
    }
}
